//
//  PartTableViewCell.m
//  随拍
//
//  Created by lanou3g on 16/1/20.
//  Copyright © 2016年 Ashoka. All rights reserved.
//

#import "PartTableViewCell.h"

@implementation PartTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.postImg = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, 404, 270)];
        self.postImg.backgroundColor = [UIColor lightGrayColor];
        
        [self.contentView addSubview:self.postImg];
        
        self.containLabel = [[UILabel alloc] initWithFrame:CGRectMake(5, 275, 404, 70)];
        self.containLabel.numberOfLines = 0;
//        self.containLabel.backgroundColor = [UIColor grayColor];
        
        [self.contentView addSubview:self.containLabel];

//        self.titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(122, 0, 160, 40)];
//
//        self.titleLabel.backgroundColor = [UIColor redColor];
//        
//        [self.containLabel addSubview:self.titleLabel];
//
//        
//        self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(5, 50, 50, 20)];
//        
//        self.nameLabel.backgroundColor = [UIColor lightGrayColor];
//        
//        [self.containLabel addSubview:self.nameLabel];
//
//        self.timeLabel = [[UILabel alloc]initWithFrame:CGRectMake(274, 50, 120, 20)];
//        
//        self.timeLabel.backgroundColor = [UIColor lightGrayColor];
//        
//        [self.containLabel addSubview:self.timeLabel];
        
        
        
        
        
        
    }
    
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
